package cn.taichoo.server.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.ruoyi.common.core.web.domain.dto.pack.PackTripartiteSettingDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 手机打包业务-第三方配置模块参数设置对象 tai_pack_tripartite_setting
 *
 * @author Wuzh
 * @date 2025-03-17
 */
@Data
@TableName(value = "tai_pack_tripartite_setting", autoResultMap = true)
public class PackTripartiteSetting extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * APP基础表Id
     */
    @Schema(description = "APP基础表Id")
    @Excel(name = "APP基础表Id")
    @TableField("app_base_id")
    private Long appBaseId;

    /**
     * 三方配置的类型;1:分享配置;2:视频/直播配置;3:阿里融合认证;4:阿里云短信;5:其他配置;
     */
    @Schema(description = "三方配置的类型;1:分享配置;2:视频/直播配置;3:阿里融合认证;4:阿里云短信;5:其他配置")
    @Excel(name = "三方配置的类型;1:分享配置;2:视频/直播配置;3:阿里融合认证;4:阿里云短信;5:其他配置;")
    @TableField("config_type")
    private Integer configType;

    /**
     * 配置项目;1:微博;2:微信;3:QQ;4:抖音;5:钉钉;6:腾讯云视频/直播;7:高德;8:友盟
     */
    @Schema(description = "配置项目;1:微博;2:微信;3:QQ;4:抖音;5:钉钉;6:腾讯云视频/直播;7:高德;8:友盟")
    @Excel(name = "配置项目;1:微博;2:微信;3:QQ;4:抖音;5:钉钉;6:腾讯云视频/直播;7:高德;8:友盟")
    @TableField("config_item")
    private Integer configItem;

    /**
     * 参数配置信息
     */
    @Schema(description = "参数配置信息")
    @Excel(name = "参数配置信息")
    @TableField(value = "params_info_json")
    private String paramsInfoJson;

    /**
     * 是否删除
     */
    @Schema(description = "是否删除")
    @Excel(name = "是否删除")
    @TableField("deleted")
    private Integer deleted;

    @TableField(exist = false)
    private PackTripartiteSettingDto packTripartiteSettingDto;

}
